<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>省考试院自学考试考务管理系统</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!--导入基础依赖css文件-->
    <link href="../../static/css/basic.css" rel="stylesheet" type="text/css" />
    <!--导入自己的 css -->
    <link href="../../static/css/kaosheng/personal-regist.css" rel="stylesheet" type="text/css" />
</head>

<body class="skin-blue sidebar-mini">
    <div class="wrapper">
        <!-- Main Header -->
        <header class="main-header">

            <!-- Logo -->
            <a href="/" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini"><b>考务</b></span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg"><b>自学考试 </b>考务管理</span>
            </a>

            <!-- Header Navbar -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- 打开左侧导航栏按钮 -->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">左侧导航栏</span>
                </a>
                <!-- 头部：右侧导航栏 -->
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                        <!-- 消息提示菜单 -->
                        <li class="dropdown notifications-menu">
                            <!-- Menu toggle button -->
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <span class="glyphicon glyphicon-comment"></span>
                                <span class="label label-warning">10</span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="header">你有 10 条信息待处理</li>
                                <li>
                                    <!-- Inner Menu: contains the notifications -->
                                    <ul class="menu">
                                        <li>
                                            <!-- start notification 如果有多条 可用 v-for -->
                                            <a href="#">
                                                <i class="fa fa-users text-aqua"></i> 5 条白名单申请待处理
                                            </a>
                                        </li>
                                        <!-- end notification -->
                                    </ul>
                                </li>
                                <li class="footer"><a href="#">查看全部</a></li>
                            </ul>
                        </li>
                        <!-- User Account Menu -->
                        <li class="dropdown user user-menu">
                            <!-- Menu Toggle Button -->
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <!-- The user image in the navbar-->
                                <img src="../../static/dist/img/user2-160x160.jpg" class="user-image"
                                    alt="User Image" />
                                <!-- hidden-xs hides the username on small devices so only the image appears. -->
                                <span class="hidden-xs">FF</span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- The user image in the menu -->
                                <li class="user-header">
                                    <img src="../../static/dist/img/user2-160x160.jpg" class="img-circle"
                                        alt="User Image" />
                                    <p>
                                        FF
                                        <small>四川大学考务</small>
                                    </p>
                                </li>
                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat">个人</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="#" class="btn btn-default btn-flat">登出</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>

        <!-- 左侧边栏 -->
        <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- 用户面板 -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="../../static/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
                    </div>
                    <div class="pull-left info">
                        <p>FF</p>
                        <!-- 用户角色 -->
                        <a href="#"><i class="fa fa-circle text-success"></i> 考务</a>
                    </div>
                </div>

                <!-- 搜索框 -->
                <form action="#" method="get" class="sidebar-form">
                    <div class="input-group">
                        <input type="text" name="q" class="form-control" placeholder="搜索..." />
                        <span class="input-group-btn">
                            <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i
                                    class="glyphicon glyphicon-search"></i></button>
                        </span>
                    </div>
                </form>
                <!-- /.search form -->

                <!-- 菜单栏 -->
                <ul class="sidebar-menu">
                    <li class="header"></li>
                    <!--a标签使用示例-->
                    <li><a href="/"><span>首页</span></a></li>
                    <li class="active"><a href="/bmbk/"><span>报名报考</span></a></li>
                    <li><a href="#"><i class='glyphicon glyphicon-link'> </i><span>带图标链接示例</span></a></li>
                    <li class="treeview">
                        <a href="#"><span>多级链接示例</span> <i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li><a href="#">二级链接</a></li>
                            <li><a href="#">二级链接</a></li>
                        </ul>
                    </li>
                </ul>
                <!-- /.sidebar-menu -->
            </section>
            <!-- /.sidebar -->
        </aside>

        <!-- 页面内容 -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>
                    个人报考
                    <small>请填写报考信息</small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#">报名报考</a></li>
                    <li class="active">个人报考</li>
                </ol>
            </section>

            <!-- Main content -->
            <section class="content">
                <!-- 我们的页面内容放这里 -->
                <div id="kaosheng">
                    <!-- 功能名字 -->
                    <div class="func_name"></div>
                    <!-- 消息提示框 -->
                    <div v-show="isOk<1" class="func_alert">
                        <div class="alert alert-warning alert-dismissable">
                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                            <h4><i class="glyphicon glyphicon-warning-sign"></i> 注意</h4>
                            {{msg}}
                        </div>
                    </div>
                    <!--功能内容-->
                    <div class="func_content">
                        <div class="func_content_left">
                            <div class="func_item">
                                <label>考次</label>
                                <input v-model="stu_name" type="text" placeholder="请输入姓名" @blur="name_check">
                            </div>
                            <div class="func_item">
                                <label>考试类型</label>
                                <div class="btn-group">
                                    <button type="button"
                                        class="btn btn-default">{{ sex == -1?'请选择' : sex_list[sex] }}</button>
                                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                        aria-expanded="false">
                                        <span class="caret"></span>
                                        <span class="sr-only">下拉</span>
                                    </button>
                                    <ul class="dropdown-menu" role="menu">
                                        <li v-for="(item, index) in sex_list" @click="choose_sex(index)"><a
                                                href="#">{{item}}</a></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="func_item">
                                <label>性别</label>
                                <div class="btn-group">
                                    <button type="button"
                                        class="btn btn-default">{{ sex == -1?'请选择' : sex_list[sex] }}</button>
                                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                        aria-expanded="false">
                                        <span class="caret"></span>
                                        <span class="sr-only">下拉</span>
                                    </button>
                                    <ul class="dropdown-menu" role="menu">
                                        <li v-for="(item, index) in sex_list" @click="choose_sex(index)"><a
                                                href="#">{{item}}</a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="func_content_right">

                        </div>
                    </div>
                    <div class="func_buttons">
                        <button class="btn btn-block btn-primary" @click="regist">{{bmState>-1?'修改':'报名'}}</button>
                    </div>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->

        <!-- Main Footer -->
        <footer class="main-footer">
            <div style="display: flex; justify-content: center; align-items: center;">
                <div><strong>Copyright &copy; 2020 <a href="#">省考试院自学考试考务管理</a>.</strong> All rights reserved.</div>
            </div>
        </footer>
    </div>
    <!-- ./wrapper -->

    <!-- 基础 js 文件 -->
    <!-- jQuery 2.1.4 -->
    <script src="../../static/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- popper.min.js -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
        integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
        crossorigin="anonymous"></script>
    <!-- Bootstrap 3.3.2 JS -->
    <script src="../../static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <!-- AdminLTE App -->
    <script src="../../static/dist/js/app.min.js" type="text/javascript"></script>
    <!-- vuejs -->
    <script src="../../static/js/vue.js"></script>
    <!-- axios：前后端数据交互 -->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>

    <!-- 额外 js 文件添加下面 -->
    <script src="../../static/js/kaosheng/personal-regist.js"></script>
</body>

</html>